package edu.cuit.avatar.think;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/5 9:05
 */
public class LoanTest {
    public static void main(String[] args) {
        var loan = new Loan(3.5f, 30, 3000000);
        System.out.println("月偿还额:" + loan.getMonthlyPayment());
        System.out.println("总偿还额:" + loan.getTotalPayment());
        System.out.println("===============还款计划========================");
        loan.printPaymentPlan();
    }
}
